package fr.labri.macchiato.framework.business.model.businessEntity;

/**
 * Rules to instantiate an Business entity class
 * 
 * @author Michelle AVOMO
 * 
 */

public class BusinessEntityFactory {

	/**
	 * 
	 * @param name
	 *            The name of the {@link BusinessEntity}
	 * @param logo
	 *            The url to the {@link BusinessEntity} logo
	 * @param page
	 *            The url to the {@link BusinessEntity} website
	 * @return A new {@link BusinessEntity}
	 */
	public static BusinessEntity newBusinessEntity(String name, String logo,
			String page) {
		return new BusinessEntity(name, logo, page);
	}

	/**
	 * 
	 * @param name
	 *            The name of the {@link BusinessEntity}
	 * @param logo
	 *            The url to the {@link BusinessEntity} logo
	 * @return A new {@link BusinessEntity}
	 */
	public static BusinessEntity newBusinessEntity(String name, String logo) {
		return new BusinessEntity(name, logo);
	}
}
